package com.can.service.resource;

import com.can.entity.Resource;
import com.can.entityDTO.TreeNode;
import com.can.service.IBaseService;

import java.util.List;

/**
 * @Desription 用户资源service
 * @Author can
 * @Date 2018/9/11
 * @Version 1.0
 */
public interface IResourceService extends IBaseService<Resource> {

    /**
     * 根据父节点获取所有子节点的数据
     * @param id
     * @return
     */
    public List<TreeNode<Resource>> getTreeNodeList(Integer id);
}
